package daoimpl;

import util.DBCon;

public class UserDaoImpl {
	DBCon con=new DBCon();
	public boolean addUser(String name,String pwd,String imgUrl){
		int i=-1;
		i=con.update("insert into user(username,userpwd,userimage) values(?,?,?)", name,pwd,imgUrl);		
		if(i>0){
			return true;
		}
		return false;
	}

}
